#! /usr/bin/env python
#coding:utf-8
#
import os
import time


#
def timer(n):
	while True:
		print "wait...", n
		time.sleep(1)
		n = n - 1
		if n <= 0:
			os.system("ps -ef | grep landingsvr | grep -v grep | cut -c 9-15 | xargs kill -9")		
			print "success"
			return
		
timer(15)
